<html>
<head>
<script>
if (window.testRunner)
  testRunner.dumpAsText();

function runTest()
{
   elt = document.getElementById('test');
   if (getComputedStyle(elt, 0).getPropertyValue("display") == "inline-block")
     document.getElementById('console').innerHTML = "PASS";
   else
     document.getElementById('console').innerHTML = "FAIL";
}
</script>
</head>
<body onload="runTest()">
<span id="test" style="-webkit-writing-mode:vertical-lr"></span>
<div id="console"></div>
